#ifndef WEATHERDATA_H
#define WEATHERDATA_H

#include <QObject>
#include <QWidget>
class Today
{
public:
    Today();
    Today& operator=(const QJsonObject& obj);
    QString date;
    QString wendu;
    QString city;
    QString shidu;
    QString pm25;
    QString quality;
    QString ganmao;
    QString fx;
    QString fl;
    QString type;//天气
    QString sunrise;//日出时间
    QString sunset; //日落时间
    QString notice; //注意信息


};

class Forecast
{
public:
    Forecast();
    Forecast& operator=(const QJsonObject& jsObj);
    QString date;
    QString week;
    QString high;
    QString low;
    QString aqi;
    QString type;
private:

};


#endif // WEATHERDATA_H
